package com.ld.security.server.admin.modules.gl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.anno.IdKey;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.ESortEntity;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("gl_enum_item")
@ApiModel("枚举项")
@Data
public class GlEnumItemEntity  extends SuperEntity implements ESortEntity
{







  @ApiModelProperty("值")
  @SqlKey(SqlCondition.eq)
    private String value;




  @ApiModelProperty("枚举编号")
  @SqlKey(SqlCondition.eq)
    private String enumId;






  @ApiModelProperty("标题")
  @SqlKey(SqlCondition.eq)
    private String label;

  private Integer sortVal;

  @IdKey({"enumId","value"})
  @Override
  public String getId() {
    return super.getId();
  }
}
